<template>
<div>
  <div>
    <el-input style="width: 200px" placeholder="请输入葡萄酒" suffix-icon="el-icon-search"></el-input>
    <el-input style="width: 200px" placeholder="请输入酿酒葡萄" suffix-icon="el-icon-grape"></el-input>
    <el-input style="width: 200px" placeholder="请输入口感风味" suffix-icon="el-icon-search"></el-input>
    <el-button class="ml-5" type="primary">搜索</el-button>
  </div>
  <el-button type="primary">新增 <i class="el-icon-circle-plus-outline"></i></el-button>
  <el-button type="danger">批量删除 <i class="el-icon-remove-outline"></i></el-button>
  <el-button type="primary">导入 <i class="el-icon-bottom"></i></el-button>
  <el-button type="primary">导出 <i class="el-icon-top"></i></el-button>

  <el-table :data="tableData" border stripe :header-cell-class-name="headerBg">
    <el-table-column prop="date" label="日期" width="140">
    </el-table-column>
    <el-table-column prop="name" label="姓名" width="120">
    </el-table-column>
    <el-table-column prop="address" label="地址">
    </el-table-column>
    <el-table-column label="操作"  width="200" align="center">
      <template slot-scope="scope">
        <el-button type="success">编辑 <i class="el-icon-edit"></i></el-button>
        <el-button type="danger">删除 <i class="el-icon-remove-outline"></i></el-button>
      </template>
    </el-table-column>
  </el-table>
  <div style="padding: 10px 0">
    <el-pagination

        :page-sizes="[5, 10, 15, 20]"
        :page-size="10"
        layout="total, sizes, prev, pager, next, jumper"
        :total="400">
    </el-pagination>
  </div>
</div>
</template>
<script>
export default {
  name: "Match",
  data() {
    const item = {
      date: '2016-05-02',
      name: '王小虎',
      address: '上海市普陀区金沙江路 1518 弄'
    };
    return {
      tableData: Array(10).fill(item),
      msg: "hello 青哥哥",
      collapseBtnClass: 'el-icon-s-fold',
      isCollapse: false,
      sideWidth: 200,
      logoTextShow: true,
      headerBg: 'headerBg'
    }
  },

}
</script>

<style scoped>
.el-row {
  margin-bottom: 20px;
  &:last-child {
    margin-bottom: 0;
  }
}
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.bg-purple {
  background: #d3dce6;
}
.bg-purple-light {
  background: #e5e9f2;
}
.grid-content {
  border-radius: 4px;
  min-height: 36px;
}
.row-bg {
  padding: 10px 0;
  background-color: #f9fafc;
}
.headerBg {
  background: #eee!important;
}
</style>